package com.ruoyi.factory.buyprice.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库均价对象 t_buma_avepri
 * 
 * @author ljj
 * @date 2024-06-17
 */
public class BumaAvepri extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String bomname;

    /** 期间 */
    @Excel(name = "期间")
    private String accysle;

    /** 年度 */
    @Excel(name = "年度")
    private Long year;

    /** 入库总价 */
    @Excel(name = "入库总价")
    private BigDecimal totalPricePu;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private BigDecimal amount;

    /** 入库均价(净价) */
    @Excel(name = "入库均价(净价)")
    private BigDecimal avePriceNet;

    /** 运费总金额 */
    @Excel(name = "运费总金额")
    private BigDecimal totalPriceTra;

    /** 入库均价 */
    @Excel(name = "入库均价")
    private BigDecimal avePrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcCreator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcCreatedate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcLastmodifier;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcLastmodifydate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcRowversion;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcUpdatehelp;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBomname(String bomname) 
    {
        this.bomname = bomname;
    }

    public String getBomname() 
    {
        return bomname;
    }
    public void setAccysle(String accysle) 
    {
        this.accysle = accysle;
    }

    public String getAccysle() 
    {
        return accysle;
    }
    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }
    public void setTotalPricePu(BigDecimal totalPricePu)
    {
        this.totalPricePu = totalPricePu;
    }

    public BigDecimal getTotalPricePu()
    {
        return totalPricePu;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setAvePriceNet(BigDecimal avePriceNet)
    {
        this.avePriceNet = avePriceNet;
    }

    public BigDecimal getAvePriceNet()
    {
        return avePriceNet;
    }
    public void setTotalPriceTra(BigDecimal totalPriceTra)
    {
        this.totalPriceTra = totalPriceTra;
    }

    public BigDecimal getTotalPriceTra()
    {
        return totalPriceTra;
    }
    public void setAvePrice(BigDecimal avePrice)
    {
        this.avePrice = avePrice;
    }

    public BigDecimal getAvePrice()
    {
        return avePrice;
    }
    public void setFgcCreator(String fgcCreator) 
    {
        this.fgcCreator = fgcCreator;
    }

    public String getFgcCreator() 
    {
        return fgcCreator;
    }
    public void setFgcCreatedate(Date fgcCreatedate) 
    {
        this.fgcCreatedate = fgcCreatedate;
    }

    public Date getFgcCreatedate() 
    {
        return fgcCreatedate;
    }
    public void setFgcLastmodifier(String fgcLastmodifier) 
    {
        this.fgcLastmodifier = fgcLastmodifier;
    }

    public String getFgcLastmodifier() 
    {
        return fgcLastmodifier;
    }
    public void setFgcLastmodifydate(Date fgcLastmodifydate) 
    {
        this.fgcLastmodifydate = fgcLastmodifydate;
    }

    public Date getFgcLastmodifydate() 
    {
        return fgcLastmodifydate;
    }
    public void setFgcRowversion(Date fgcRowversion) 
    {
        this.fgcRowversion = fgcRowversion;
    }

    public Date getFgcRowversion() 
    {
        return fgcRowversion;
    }
    public void setFgcUpdatehelp(String fgcUpdatehelp) 
    {
        this.fgcUpdatehelp = fgcUpdatehelp;
    }

    public String getFgcUpdatehelp() 
    {
        return fgcUpdatehelp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bomname", getBomname())
            .append("accysle", getAccysle())
            .append("year", getYear())
            .append("totalPricePu", getTotalPricePu())
            .append("amount", getAmount())
            .append("avePriceNet", getAvePriceNet())
            .append("totalPriceTra", getTotalPriceTra())
            .append("avePrice", getAvePrice())
            .append("fgcCreator", getFgcCreator())
            .append("fgcCreatedate", getFgcCreatedate())
            .append("fgcLastmodifier", getFgcLastmodifier())
            .append("fgcLastmodifydate", getFgcLastmodifydate())
            .append("fgcRowversion", getFgcRowversion())
            .append("fgcUpdatehelp", getFgcUpdatehelp())
            .toString();
    }
}
